package com.gitee.huanminabc.fastboot.web.annotation.validation;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.*;
import static java.lang.annotation.RetentionPolicy.RUNTIME;



/**
 * The annotated element must not be {@code null} and must contain at least one
 * non-whitespace character. Accepts {@code CharSequence}.
 */
@Documented
@Target({ METHOD, FIELD,PARAMETER})
@Retention(RUNTIME)
public @interface NotBlank {

	String message() default "字符串不能为空(包括空格)";

	Class<?>[] groups() default  Default.class;

}